package com.etcn.common.Enum;

/**
 * 短信类型
 * @author: guozc
 * @date: 2016-08-22
 */
public enum SmsType {
	
	/**
	 * {@code 1	验证码}.
	 */
	VERIFY(1, "VERIFY"),
	
	/**
	 * {@code 2	通知}.
	 */
	NOTICE(2,"NOTICE"),
	
	/**
	 * {@code 3	营销}.
	 */
	MARKETING(3,"MARKETING");
	
	private final int value;

	private final String reasonPhrase;

	private SmsType(int value, String reasonPhrase) {
		this.value = value;
		this.reasonPhrase = reasonPhrase;
	}

	public int value() {
		return this.value;
	}

	public String reasonPhrase() {
		return reasonPhrase;
	}

	@Override
	public String toString() {
		return Integer.toString(value);
	}

}
